package desgin.pattern.construtor.singleton;

/**
 * 
 * @Type SingletonTest
 * @Desc
 * @author shuai.zuo
 * @date 2015年3月6日
 * @Version V1.0
 */
public class SingletonTest {
    public static void main(String[] args) {
        EagerSingleton.getInstance();
        LazySingleton.getInstance();
        DoubleCheckSingleton.getInstance();
        LazyInitializationHolder.getInstance();
        
        EnumInstance singleTon = EnumInstance.INSTANCE;
        singleTon.print();
    }
}
